* {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}
.parent {
  width: 500px;
  height: 200px;
  position: relative;
  background-color: aqua;
  margin: 0 auto;
}
.child {
  width: 300px;
  height: 100px;
  margin: auto;
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}
ul li {
  width: 70px;
  height: 100px;
  line-height: 100px;
  display: inline-block;
}

li:hover {
  cursor: pointer;
}
h1 {
  text-align: center;
}
